package com.sushi.service;

import com.sushi.repository.entity.MessageEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sushi.response.ResponseBO;
import com.sushi.response.ResponsePageBO;
import com.sushi.response.MessageResp;
import com.sushi.request.MessageReq;
import com.sushi.request.MessagePageReq;

/**
 * 消息 服务类
 * @date 2023-05-02
 * @time 17:15:12
 * @author Administrator
 */
public interface MessageService extends IService<MessageEntity> {

    

    /**
     * 新增
     */
    public ResponseBO<MessageResp> add(MessageReq req);

    /**
     * 逻辑删除
     */
    public ResponseBO<MessageResp> logicRemove(MessageReq req);

    /**
     * 更新
     */
    public ResponseBO<MessageResp> updateByField(MessageReq req);

    /**
     * 列表
     */
    public ResponsePageBO<MessageResp> listByCondition(MessagePageReq req);

    /**
     * 详情
     */
    public ResponseBO<MessageResp> detail(MessageReq req);

;

}